package com.exchange.code.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * 代码分类表(SysCodeType)实体类
 *
 * @author makejava
 * @since 2020-11-24 15:41:58
 */
@Component
@TableName("sys_code_type")
public class SysCodeType implements Serializable {
    private static final long serialVersionUID = -16871598944091039L;
    /**
     * 代码ID
     */
    @TableId
    private Long codeTypeId;
    /**
     * 代码分类编码
     */
    private String codeTypeCode;
    /**
     * 代码名称
     */
    private String codeTypeName;
    /**
     * 父级代码
     */
    private String codeTypeParent;
    /**
     * 创建人（用户ID）
     */
    private Long createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人（用户ID）
     */
    private Long updateBy;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 版本号
     */
    private String codeVersion;
    /**
     * 代码分类排序
     */
    private Integer codeTypeOrder;
    /**
     * 代码分类状态（0：无效，1：有效）
     */
    private Integer codeTypeStatus;


    public Long getCodeTypeId() {
        return codeTypeId;
    }

    public void setCodeTypeId(Long codeTypeId) {
        this.codeTypeId = codeTypeId;
    }

    public String getCodeTypeCode() {
        return codeTypeCode;
    }

    public void setCodeTypeCode(String codeTypeCode) {
        this.codeTypeCode = codeTypeCode;
    }

    public String getCodeTypeName() {
        return codeTypeName;
    }

    public void setCodeTypeName(String codeTypeName) {
        this.codeTypeName = codeTypeName;
    }

    public String getCodeTypeParent() {
        return codeTypeParent;
    }

    public void setCodeTypeParent(String codeTypeParent) {
        this.codeTypeParent = codeTypeParent;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCodeVersion() {
        return codeVersion;
    }

    public void setCodeVersion(String codeVersion) {
        this.codeVersion = codeVersion;
    }

    public Integer getCodeTypeOrder() {
        return codeTypeOrder;
    }

    public void setCodeTypeOrder(Integer codeTypeOrder) {
        this.codeTypeOrder = codeTypeOrder;
    }

    public Integer getCodeTypeStatus() {
        return codeTypeStatus;
    }

    public void setCodeTypeStatus(Integer codeTypeStatus) {
        this.codeTypeStatus = codeTypeStatus;
    }

}
